import databaseConfig from '@/database/config/database.config';
import authConfig from '@/auth/config/auth.config';
import appConfig from '@/config/app.config';
import mailConfig from '@/mail/config/mail.config';
import fileConfig from '@/files/config/file.config';
import agentConfig from '@/features/agent/config/agent.config';
import facebookConfig from '@/auth-facebook/config/facebook.config';
import googleConfig from '@/auth-google/config/google.config';
import appleConfig from '@/auth-apple/config/apple.config';
import { ConfigModule } from '@nestjs/config';
export default ConfigModule.forRoot({
  isGlobal: true,
  load: [
    databaseConfig,
    authConfig,
    appConfig,
    mailConfig,
    fileConfig,
    facebookConfig,
    googleConfig,
    appleConfig,
    agentConfig,
  ],
  envFilePath: ['.env'],
});
